
//***********************************************
//
//      Filename: homework.java
//
//        Author: wwb
//        Mails: 1274860621@qq.com
//        Create: 2018-03-26 12:22:14
// Last Modified: 2018-03-26 12:22:14
//***********************************************
    import java.util.Random;
    public class homework
	{
    public static void main(String[]args)
  	{
      Random generator = new Random();
 	float num;
        
        num = generator.nextFloat(10) * 2 - 10;
        System.out.println("output: " + num);
      }
}
	
